<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>小说管理系统</title>

    <!-- 基本样式 -->
    <link rel="stylesheet" href="../src/mixins/style/normalize.css" />
    <link rel="stylesheet" href="../src/com_third/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../src/mixins/style/base.css" />

    <!-- 引入样式 -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->
    <link href="https://cdn.bootcss.com/element-ui/2.4.0/theme-chalk/index.css" rel="stylesheet">

    <!-- 当时项目公共样式 -->
    <link rel="stylesheet" href="src/common.css" />


    <style>
        html,
        body {
            height: 100%;
            margin: 0 auto;
            padding: 0;
            overflow: hidden;
        }

        #app {
            height: 100%;
        }

        .header {
            height: 62px;
        }

        .main {
            height: calc(100% - 62px);
            width: 100%;
            margin: 0px auto;
            overflow: hidden;

        }

        .main_iframe {
            height: 100%;
            width: 100%;
        }
    </style>
</head>

<body>

    <div v-cloak class="clearfix" id="app">

        <div class="header">
            <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect" background-color="#545c64"
                text-color="#fff" active-text-color="#ffd04b">

                <el-menu-item :index="item.index" v-for="item in menuTree">

                    {{item.name}}

                </el-menu-item>




            </el-menu>
        </div>
        <div class="main">
            <iframe class="main_iframe" :src="activeUrl" frameborder="0" height="100%" scrolling="yes"></iframe>
        </div>

    </div>

    <script src="../src/lib/jquery.js"></script>
    <script src="../src/lib/sea-all.js"></script>
    <script src="../src/lib/vue.js"></script>

    <!-- 引入组件库 -->
    <!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> -->
    <script src="https://cdn.bootcss.com/element-ui/2.4.0/index.js"></script>


    <script src="../boot.js"></script>


    <script>
        $(function () {
            seajs.use('./home.js');
        })
    </script>



</body>

</html>
